import request from '@/utils/request'

//查询
export function search(data) {
    return request({
      url: '/content/search',
      method: 'post',
      data
    })
  }
  //修改
  export function updateContent(data) {
    return request({
      url: '/content/addContent',
      method: 'post',
      data
    })
  }
  //删除
  export function delContent(data) {
    return request({
      url: '/content/delContent',
      method: 'post',
      data
    })
  }

//查询所有景点
export function findAll(data) {
    return request({
        url: '/content/findAll',
        method: 'post',
        data
    })
    }


